<template>
  <div class="content">
    <h1>子组件2</h1>
    <el-button type="primary" @click="handlerefresh">刷新</el-button>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
// import { useProjectStoreHook } from "/@/store/modules/project";

export default defineComponent({
  setup() {
    const handlerefresh = () => {
      console.log(123);
      // useProjectStoreHook().changeSetting();
    };

    return {
      handlerefresh
    };
  }
});
</script>

<style lang="scss" scoped>
.content {
  padding: 20px;
  background: skyblue;
}
</style>
